package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.LpCourseTbl;
import cn.com.lsy.product.lepao.model.entities.LpCourseTypeTbl;
import cn.com.lsy.product.lepao.model.entities.LpCourseVideoTbl;

import java.util.List;

public interface ICourseService {

    List<LpCourseTypeTbl> selectCourseType();

    boolean insertCourseType(LpCourseTypeTbl param);

    boolean updateCourseType(LpCourseTypeTbl param);

    List<LpCourseTbl> selectCourseByPage(int start, int end, int typeId, String searchCondition);

    int selectCourseByCount(int typeId, String searchCondition);

    LpCourseTbl selectCourseInfo(int id);

    boolean insertCourse(LpCourseTbl param);

    boolean updateCourse(LpCourseTbl param);

    List<LpCourseVideoTbl> selectCourseVideoByPage(int start, int end, int courseId, String searchCondition);

    int selectCourseVideoByCount(int courseId, String searchCondition);

    LpCourseVideoTbl selectCourseVideoInfo(int id);

    boolean updateCourseVideo(LpCourseVideoTbl param);

    boolean insertCourseVideo(LpCourseVideoTbl param);
}
